package com.webside.videoresource.model;

import java.io.Serializable;
import java.util.Date;

public class VideoResourceEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
    private Integer id;

    private String name;

    private String url;

    private String cover;

    private Integer size;

    private Integer timeSpan;

    private String source;

    private String h360pUrl;

    private String h720pUrl;

    private String h1080pUrl;

    private String videoState;
    
    private Date createtime;
    

    public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover == null ? null : cover.trim();
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public Integer getTimeSpan() {
        return timeSpan;
    }

    public void setTimeSpan(Integer timeSpan) {
        this.timeSpan = timeSpan;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }    

    public String getH360pUrl() {
		return h360pUrl;
	}

	public void setH360pUrl(String h360pUrl) {
		this.h360pUrl = h360pUrl;
	}

	public String getH720pUrl() {
		return h720pUrl;
	}

	public void setH720pUrl(String h720pUrl) {
		this.h720pUrl = h720pUrl;
	}

	public String getH1080pUrl() {
		return h1080pUrl;
	}

	public void setH1080pUrl(String h1080pUrl) {
		this.h1080pUrl = h1080pUrl;
	}

	public String getVideoState() {
        return videoState;
    }

    public void setVideoState(String videoState) {
        this.videoState = videoState == null ? null : videoState.trim();
    }
}